package com.weiyuwqj.utils;




import java.util.HashMap;
import java.util.Map;

/**
 * Created by Administrator on 2017/6/7.
 */
public class EncapsulationResultUtils {
    /**
     * 将结果封装成map
     * @param object
     * @return
     */
    public static Map encapsulationResultToMap(String name,Object object){
        Map map = new HashMap();
        map.put(name,object);
        return map;
    }
}
